home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / intact / r3iafont.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  1.9 KB  |  78 lines

  1.  
  2. // JavaScript wrapper for r3iafont.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_IAFONT_H = 1;
  7. include("real/intact/r3ia2p.js")
  8.  
  9.  
  10. var R3CLID_IAFONT = 675;
  11.  
  12.  
  13.  
  14.  
  15. // Description: Register new font for the font interactor
  16. // Virtual method
  17. // Returns: Boolean, true of registration succeeded
  18. // p1: Integer, class id of the font to be registered
  19. // p3: String, name of the font
  20.  
  21. R3CIAFONTM_REGISTERFONT = 675000;
  22.  
  23. function mR3CIAFONTM_REGISTERFONT(p1, p3) {
  24.   return   DoA2(this.r3obj, 675000, p1, R3TID_INTEGER, 0, p3, R3TID_STRING, 0);
  25. }
  26.  
  27.  
  28.  
  29.  
  30. R3IAFONTA_Text = 675500;
  31. function SetR3IAFONTA_Text(value) {
  32.   R3Set(this.r3obj, R3IAFONTA_Text, value, R3TID_STRING, 0); 
  33. }
  34.  
  35. function GetR3IAFONTA_Text() {
  36.   return R3Get(this.r3obj, R3IAFONTA_Text, R3TID_STRING, 0); 
  37. }
  38.  
  39. R3IAFONTA_FontClid = 675501;
  40. function SetR3IAFONTA_FontClid(value) {
  41.   R3Set(this.r3obj, R3IAFONTA_FontClid, value, R3TID_INTEGER, 0); 
  42. }
  43.  
  44. function GetR3IAFONTA_FontClid() {
  45.   return R3Get(this.r3obj, R3IAFONTA_FontClid, R3TID_INTEGER, 0); 
  46. }
  47.  
  48. R3IAFONTA_FontName = 675502;
  49. function SetR3IAFONTA_FontName(value) {
  50.   R3Set(this.r3obj, R3IAFONTA_FontName, value, R3TID_STRING, 0); 
  51. }
  52.  
  53. function GetR3IAFONTA_FontName() {
  54.   return R3Get(this.r3obj, R3IAFONTA_FontName, R3TID_STRING, 0); 
  55. }
  56.  
  57. var R3IAFONTA_Orientation = 675503; // r3Coordsys
  58.  
  59.  
  60. function r3Iafont () { 
  61.    this.base = r3God;
  62.    if(arguments.length) {
  63.       this.base(R3CLID_IAFONT, arguments);
  64.    }
  65.    // Methods
  66.    this.REGISTERFONT=mR3CIAFONTM_REGISTERFONT;
  67.  
  68.    // Attributes
  69.    this.GetText=GetR3IAFONTA_Text;
  70.    this.SetText=SetR3IAFONTA_Text;
  71.    this.GetFontClid=GetR3IAFONTA_FontClid;
  72.    this.SetFontClid=SetR3IAFONTA_FontClid;
  73.    this.GetFontName=GetR3IAFONTA_FontName;
  74.    this.SetFontName=SetR3IAFONTA_FontName;
  75. }
  76.  
  77. r3Iafont.prototype=new r3Ia2p;
  78. // r3iafont.h_H